package gentle.controller;

import gentle.base.BaseController;
import gentle.entity.RechargeInfo;
import gentle.service.IOrthodonticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.List;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
@Controller
@RequestMapping("/orthodonticsDetail")
public class OrthodonticsController extends BaseController {
    @Autowired
    IOrthodonticsService orthodonticsService;

    //种植俱乐部交易记录
    @RequestMapping(value = "/getOrthodonticsList/{reservationsId}/{abbreviation}")
    @ResponseBody
    public List<RechargeInfo> getOrthodonticsList(@PathVariable String reservationsId,@PathVariable String abbreviation) throws Exception {
        return orthodonticsService.getOrthodonticsList(reservationsId,abbreviation);
    }

}